﻿<%@ Page Language="C#" EnableEventValidation="false" AutoEventWireup="true" CodeBehind="SupplierInitialAudit.aspx.cs" Inherits="syc.Sale.SupplierInitialAudit" %>

<head runat="server">
    <title></title>    

</head>
<body>
<script type="text/javascript" language="javascript" src="/common.js"></script>
   <form id="form"  runat="server">
<div id="wintop" class="wintop">原料供方初评信息</div>
<asp:Panel ID="Panel1" runat="server" CssClass="panel">
           <asp:Button ID="Save"  runat="server" Text="保存" onclick="Save_Click"  
               CssClass="button" UseSubmitBehavior="False"   />                              
          <input type="button" value="关 闭" class="button" onclick="parent.swin2_close();" />
          <asp:Button ID="Button_To" runat="server" CssClass="button" 
                onclick="Button_To_Click" Text="导 出" UseSubmitBehavior="False" />
</asp:Panel>
 <asp:Panel ID="Panel2" runat="server" CssClass="panel2">
            <asp:Label ID="Message" runat="server" Text="·准备就绪" CssClass="prompt"></asp:Label>
        </asp:Panel>    
        <div align="center">
<script>    putBillHead();</script>
<div align="center"><h4>供方初评表</h4></div>
<table width="510"   border="1" cellpadding="0" cellspacing="0" bordercolor="#000000" style="border-collapse: collapse; font-size:13px">
  <tr>
    <td width="72" align="center"> 单位</td>
    <td width="80" class="style3" >
        <asp:DropDownList ID="Danwei" runat="server" AutoPostBack="True" 
            DataSourceID="SqlDataSource1" DataTextField="名称" DataValueField="ID" 
            onselectedindexchanged="Danwei_SelectedIndexChanged">
        </asp:DropDownList>
    </td>
    <td width="90" align="center">地址</td>
    <td colspan="3">
        <asp:Label ID="Address" runat="server" Text="" Width="98%" ></asp:Label>
    </td>
  </tr>
  <tr>
    <td align="center">产品</td>
    <td class="style3" >
        <asp:DropDownList ID="Material" runat="server" DataSourceID="SqlDataSource2" 
            DataTextField="品名" DataValueField="ID" Font-Size="12px">
        </asp:DropDownList>
    </td>
    <td align="center">联系电话</td>
    <td >
        <asp:Label ID="Phone" runat="server" Text="" Width="98%"  ></asp:Label>
    </td>
    <td width="91" align="center">联系人</td>
    <td width="88">
        <asp:Label ID="LinkMan" runat="server" Width="98%" ></asp:Label>
    </td>
  </tr>
  <tr>
    <td rowspan="2"><div align="center">
      <p>单</p>
      <p>位</p>
      <p>概</p>
      <p>况</p>
    </div></td>
    <td height="90" colspan="5"><asp:TextBox ID="Dwgk" runat="server" 
            CssClass="intxt1" Width="100%" Height="276px" TextMode="MultiLine" 
            Rows="15"></asp:TextBox></td>
  </tr>
  <tr>
    <td height="14" align="center">质量体系情况</td>
    <td colspan="4" align="center">
        <asp:TextBox ID="Zltxqk" runat="server" CssClass="textbox" Width="98%"></asp:TextBox>
    </td>
  </tr>
  <tr>
    <td rowspan="2" ><div align="center">
      <p>评</p>
      <p>价</p>
      <p>意</p>
      <p>见</p>
    </div></td>
    <td height="90" colspan="5">
        <asp:TextBox ID="Pjyj" runat="server" 
            CssClass="intxt1" Width="100%" Height="234px" TextMode="MultiLine"></asp:TextBox></td>
  </tr>
  <tr>
    <td colspan="2"><div align="right">评价人：</div></td>
    <td align="center">
        <asp:TextBox ID="Pjr" runat="server" CssClass="textbox" Width="95%"></asp:TextBox>
    </td>
    <td><div align="center">日期</div></td>
    <td width="88" align="center">
        <asp:TextBox ID="Date" runat="server" CssClass="textbox" Width="95%" 
            Height="22px"  Font-Size="11px" 
            onclick="makecalendar(document.getElementById('Date').value, document.getElementById('Date'));" ></asp:TextBox>
    </td>
  </tr>
  <tr>
    <td rowspan="2" align="center">评价单位(人)</td>
    <td align="center"" >机动处</td>
    <td align="center">生产安环处</td>
    <td  width="81" align="center">技术质量处  </td>
    <td align="center">生产车间  </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td align="center">
        <asp:TextBox ID="Jdc" runat="server" Width="95%" CssClass="textbox"></asp:TextBox>
    </td>
    <td align="center">
        <asp:TextBox ID="Scahc" runat="server" Width="95%" CssClass="textbox"></asp:TextBox>
    </td>
    <td class="style2" align="center">
        <asp:TextBox ID="Jszlc" runat="server" Width="95%" CssClass="textbox"></asp:TextBox>
    </td>
    <td class="style2" align="center">
        <asp:TextBox ID="Sccj" runat="server" Width="95%" CssClass="textbox"></asp:TextBox>
    </td>
    <td class="style2"></td>
  </tr>
  <tr>
    <td colspan="5"><div align="right">批准人 ： </div></td>
    <td align="center">
        <asp:TextBox ID="Pzr" runat="server" Width="95%" CssClass="textbox"></asp:TextBox>
    </td>
  </tr>
</table>
<script>    putBillFoot();</script>
</div>
   <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
       ConnectionString="<%$ ConnectionStrings:SCMConnectionString1 %>" 
       SelectCommand="SELECT [ID], [品名]+'('+[钢级]+')'+规格 as 品名  FROM [原料]"></asp:SqlDataSource>
   <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
       ConnectionString="<%$ ConnectionStrings:SCMConnectionString1 %>" 
       SelectCommand="SELECT [ID], [名称], [联系人], [电话], [地址] FROM [原料供货单位]">
   </asp:SqlDataSource>
   <asp:DropDownList ID="DZList" runat="server" DataSourceID="SqlDataSource1" 
       DataTextField="地址" DataValueField="ID" Visible="False">
   </asp:DropDownList>
   <asp:DropDownList ID="PhoneList" runat="server" DataSourceID="SqlDataSource1" 
       DataTextField="电话" DataValueField="ID" Visible="False">
   </asp:DropDownList>
   <asp:DropDownList ID="LinkManList" runat="server" DataSourceID="SqlDataSource1" 
       DataTextField="联系人" DataValueField="ID" Visible="False">
   </asp:DropDownList>
</form>
</body>
</html>
